	package com.huangliusong.enums;

/**
 * 
 * @author kw-hls
 *
 */
public enum ResultEnum {
	PARAM_ERROR(001,"参数不正确"),
	ORDER_NOT_EXIST(002, "订单不存在"),
	ORDER_STATUS_ERROR(003,"订单状态不正确"),
	ORDER_UPDATE_FAIL(004,"订单更新失败"),
	ORDER_PAY_STATUS_ERROR(005,"订单支付状态不正确"),
	ORDER_OWNER_ERROR(006,"该订单不属于当前用户")
	;

	private Integer code;
	private String message;

	ResultEnum(Integer code, String message) {
		this.code = code;
		this.message = message;
	}

	public Integer getCode() {
		return code;
	}

	public void setCode(Integer code) {
		this.code = code;
	}

	public String getMessage() {
		return message;
	}

	public void setMessage(String message) {
		this.message = message;
	}

}
